<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>产品验证证书</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Microsoft YaHei', 'SimSun', serif;
            background: #f5f4f0;
            min-height: 100vh;
            padding: 20px;
            background-image: 
                repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.02) 2px, rgba(0,0,0,0.02) 4px),
                repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.02) 2px, rgba(0,0,0,0.02) 4px);
        }

        .certificate {
            max-width: 800px;
            margin: 0 auto;
            background: #faf9f5;
            padding: 50px 60px;
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
            position: relative;
            border: 1px solid #e0ddd8;
        }

        /* 证书头部 */
        .cert-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            border-bottom: 2px solid #333;
            padding-bottom: 15px;
        }

        .ma-logo {
            width: 60px;
            height: 60px;
            background: #f4d03f;
            border: 2px solid #333;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 28px;
            color: #000;
            flex-shrink: 0;
        }

        .cert-number {
            flex: 1;
            margin-left: 20px;
            font-size: 16px;
            color: #000;
            font-weight: 500;
        }

        /* 标题 */
        .cert-title {
            text-align: center;
            font-size: 36px;
            font-weight: bold;
            color: #000;
            margin: 40px 0 50px 0;
            letter-spacing: 2px;
        }

        /* 验证结果区域 */
        .verification-result {
            text-align: center;
            margin: 40px 0;
            padding: 30px;
            border: 3px solid #000;
            background: #fff;
        }

        .result-icon {
            font-size: 80px;
            color: #2e7d32;
            margin-bottom: 20px;
        }

        .result-title {
            font-size: 32px;
            font-weight: bold;
            color: #000;
            margin-bottom: 15px;
            letter-spacing: 1px;
        }

        .result-subtitle {
            font-size: 20px;
            color: #333;
            margin-bottom: 25px;
        }

        .result-details {
            margin-top: 30px;
            padding-top: 25px;
            border-top: 1px solid #ddd;
            text-align: left;
        }

        .detail-row {
            display: flex;
            padding: 12px 0;
            font-size: 16px;
            border-bottom: 1px solid #eee;
        }

        .detail-label {
            width: 150px;
            color: #666;
            font-weight: 500;
        }

        .detail-value {
            flex: 1;
            color: #000;
        }

        /* 说明文字 */
        .cert-notice {
            margin-top: 40px;
            font-size: 14px;
            color: #555;
            line-height: 1.8;
            text-align: justify;
            padding: 20px;
            background: #f9f9f9;
            border-left: 4px solid #333;
        }

        /* 底部印章区域 */
        .cert-footer {
            margin-top: 60px;
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            position: relative;
        }

        .macc-logo {
            width: 50px;
            height: 60px;
            background: #f4d03f;
            border: 2px solid #333;
            border-radius: 8px 8px 0 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
            color: #000;
            text-align: center;
            padding: 5px;
            line-height: 1.2;
        }

        .signature-area {
            flex: 1;
            margin-left: 20px;
        }

        .signature-row {
            display: flex;
            margin-bottom: 15px;
            align-items: center;
        }

        .signature-label {
            width: 80px;
            font-size: 16px;
            color: #000;
        }

        .signature-value {
            flex: 1;
            font-size: 16px;
            color: #000;
            border-bottom: 1px solid #000;
            min-height: 30px;
            display: flex;
            align-items: center;
        }

        .official-stamp {
            width: 140px;
            height: 140px;
            border: 3px solid #dc143c;
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: #fff;
            position: relative;
            flex-shrink: 0;
        }

        .stamp-text {
            font-size: 13px;
            color: #dc143c;
            text-align: center;
            line-height: 1.3;
            font-weight: bold;
            padding: 5px;
        }

        .stamp-star {
            font-size: 24px;
            color: #dc143c;
            margin: 5px 0;
        }

        .stamp-number {
            font-size: 10px;
            color: #dc143c;
            position: absolute;
            bottom: 10px;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .certificate {
                padding: 30px 20px;
            }

            .cert-title {
                font-size: 28px;
                margin: 30px 0 40px 0;
            }

            .result-title {
                font-size: 24px;
            }

            .cert-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .cert-number {
                margin-left: 0;
                margin-top: 10px;
            }

            .cert-footer {
                flex-direction: column;
                align-items: flex-start;
            }

            .official-stamp {
                margin-top: 30px;
                align-self: center;
            }

            .detail-row {
                flex-direction: column;
            }

            .detail-label {
                width: 100%;
                margin-bottom: 5px;
            }
        }
    </style>
</head>
<body>
    <div class="certificate">
        <!-- 证书头部 -->
        <div class="cert-header">
            <div class="ma-logo">MA</div>
            <div class="cert-number">安全标志编号: MAI200363</div>
        </div>

        <!-- 证书标题 -->
        <div class="cert-title">产品验证证书</div>

        <!-- 验证结果 -->
        <div class="verification-result">
            <div class="result-icon">✓</div>
            <div class="result-title">正品验证通过</div>
            <div class="result-subtitle">该产品为正品，已验证通过</div>

            <div class="result-details">
                <div class="detail-row">
                    <div class="detail-label">验证状态：</div>
                    <div class="detail-value">已验证为正品</div>
                </div>
                <div class="detail-row">
                    <div class="detail-label">验证时间：</div>
                    <div class="detail-value" id="verifyTime"></div>
                </div>
                <div class="detail-row">
                    <div class="detail-label">证书编号：</div>
                    <div class="detail-value">MAI200363</div>
                </div>
                <div class="detail-row">
                    <div class="detail-label">验证方式：</div>
                    <div class="detail-value">二维码扫码验证</div>
                </div>
            </div>
        </div>

        <!-- 说明文字 -->
        <div class="cert-notice">
            本证书通过二维码验证系统确认，该产品为正品。证书信息真实有效，可通过扫描证书上的二维码进行验证。如有疑问，请访问 www.aqbz.org 或联系官方客服进行核实。
        </div>

        <!-- 证书底部 -->
        <div class="cert-footer">
            <div class="macc-logo">
                MACC<br>标志
            </div>
            <div class="signature-area">
                <div class="signature-row">
                    <div class="signature-label">签发人：</div>
                    <div class="signature-value"></div>
                </div>
                <div class="signature-row">
                    <div class="signature-label">发证部门：</div>
                    <div class="signature-value">国家矿用产品安全标志中心</div>
                </div>
            </div>
            <div class="official-stamp">
                <div class="stamp-text">国家矿用产品<br>安全标志中心<br>有限公司</div>
                <div class="stamp-star">★</div>
                <div class="stamp-number">1101020276195</div>
            </div>
        </div>
    </div>

    <script>
        // 显示验证时间
        document.getElementById('verifyTime').textContent = new Date().toLocaleString('zh-CN', {
            year: 'numeric',
            month: '2-digit',
            day: '2-digit',
            hour: '2-digit',
            minute: '2-digit',
            second: '2-digit'
        });
    </script>
</body>
</html>